const KEY = 'my-token-big-event'

// 获取token
export const getToken = () => {
    return localStorage.getItem(KEY)
}

//  设置token
export const setToken = newToken => {
    return localStorage.setItem(KEY,newToken)
}

// 删除token
export const delToken = () => {
    return localStorage.removeItem(KEY)
}